package top.infopub.mgr.bpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.ProContractAttDao;
import top.infopub.model.bpa.ProContractAtt;
import top.infopub.mgr.bpa.service.ProContractAttService;

@Service
public class ProContractAttServiceImpl extends GenericServiceImpl<ProContractAtt, String> implements
		ProContractAttService {

	@Autowired
	private ProContractAttDao proContractAttDao;
	
	@Override
	public GenericDao<ProContractAtt, String> getDao() {
		return proContractAttDao;
	}

    @Override
    public List<ProContractAtt> selectByProContractAttId(String proContractId) {
        return proContractAttDao.selectByProContractAttId(proContractId);
    }

}